Scratch code to print table of a num